﻿using Core.Models;
using FluentNHibernate.Mapping;

namespace Core.Mappings
{
    public class EmployeeMap: ClassMap<Employee>
    {
        public EmployeeMap()
        {
            Id(x => x.ID);
            Map(x => x.No);
            Map(x => x.Name);
            Map(x => x.Email);
            Map(x => x.Phone);
            Map(x => x.Salary);
        }
    }
}